package com.qijian.maindata.domain.query.nesting;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Set;

@Data
@TableName("main_nesting_order_works")
public class NestingCostQuery {

    @WhereType(tableName = "main_nesting_order_users",filed = "user_id")
    private Long userId;

    @WhereType(tableName = "main_nesting_order_users",filed = "user_id",type = WhereTypeEnum.IN)
    private Set<Long> userIds;

    @WhereType(filed = "status")
    private Integer status;

    @WhereType(filed = "status", type = WhereTypeEnum.IN)
    private List<Integer> statusList;

    @WhereType(filed = "id",type = WhereTypeEnum.IN)
    private Set<Long> ids;

    //工单管理人员id
    @WhereType(filed = "user_id",tableName = "main_process_order")
    private Long workUserId;

    //数控件工单管理人员id
    @WhereType(filed = "create_id",tableName = "main_nesting_order")
    private Long costWorkUserId;

    //页面查询参数
    @WhereType(filed = "order_code",tableName = "main_nesting_order_detail",type = WhereTypeEnum.LIKE)
    private String ncOrderCode;

}
